sudo: false
language: go

services:
  - redis-server

go:
  - 1.4
  - 1.6
  - 1.7
  - tip

matrix:
  allow_failures:
    - go: tip

install:
  - go get notbug.org/themusicgod1/bsm/ratelimit.v1
  - go get github.com/onsi/ginkgo
  - go get github.com/onsi/gomega
  - go get notabug.org/themusicgod1/redis
  - mkdir -p $HOME/gopath/src/notbug.org/themusicgod1
  - mv $HOME/gopath/src/notabug.org/themusicgod1/redis $HOME/gopath/src/notbug.org/themusicgod1/redis.v4
  - cd $HOME/gopath/src/notbug.org/themusicgod1/redis.v4
